/**
 * @author Mike
 * @date 2017/06/02
 * @desc 首页Reducer
 */

const _default = {
  data: ''
}

const homeReducer = (state = _default, action) => {
  switch (action.type) {
    case 'GETSUCCESS':
      return action.data;
    default:
      return state;
  }
};

export default homeReducer;